package com.hs.auth.model;

import java.util.Date;

/**
 * HsOrg entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class HsOrg extends com.hs.core.model.BaseBean implements
		java.io.Serializable {

	// Fields

	private Long id;
	private String orgname;
	private String orgcode;
	private Long pid;
	private String postadress;
	private String postnum;
	private Long isuse;
	private Date creatdate;
	private Long creatuser;
	

	// Constructors

	/** default constructor */
	public HsOrg() {
	}

	/** full constructor */
	public HsOrg(String orgname, String orgcode, Long pid, String postadress,
			String postnum, Long isuse, Date creatdate, Long creatuser) {
		this.orgname = orgname;
		this.orgcode = orgcode;
		this.pid = pid;
		this.postadress = postadress;
		this.postnum = postnum;
		this.isuse = isuse;
		this.creatdate = creatdate;
		this.creatuser = creatuser;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrgname() {
		return this.orgname;
	}

	public void setOrgname(String orgname) {
		this.orgname = orgname;
	}

	public String getOrgcode() {
		return this.orgcode;
	}

	public void setOrgcode(String orgcode) {
		this.orgcode = orgcode;
	}

	public Long getPid() {
		return this.pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getPostadress() {
		return this.postadress;
	}

	public void setPostadress(String postadress) {
		this.postadress = postadress;
	}

	public String getPostnum() {
		return this.postnum;
	}

	public void setPostnum(String postnum) {
		this.postnum = postnum;
	}

	public Long getIsuse() {
		return this.isuse;
	}

	public void setIsuse(Long isuse) {
		this.isuse = isuse;
	}

	public Date getCreatdate() {
		return this.creatdate;
	}

	public void setCreatdate(Date creatdate) {
		this.creatdate = creatdate;
	}

	public Long getCreatuser() {
		return this.creatuser;
	}

	public void setCreatuser(Long creatuser) {
		this.creatuser = creatuser;
	}

}
